/**
 * vim: set ts=4 :
 * =============================================================================
 * ServerTools
 * Copyright (C) 2012 DonRevan.  All rights reserved.
 * =============================================================================
 *
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License, version 3.0, as published by the
 * Free Software Foundation.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/**
 * Set the server pause state
 *
 * @param value		True to pause, false to unpause
 * @error			If SDKTools isn't loaded/unable to get IServer pointer
 * @noreturn
 */
native SetPause(bool:value);

/**
 * Returns if a server is paused
 *
 * @error			If SDKTools isn't loaded/unable to get IServer pointer
 * @return			True if server is currently paused
 */
native IsPaused();

/**
 * Returns if the server is pauseable
 *
 * @error			If SDKTools isn't loaded/unable to get IServer pointer
 * @return			True if server is pausable
 */
native IsPausable();

/**
 * Forces a user to disconnect
 *
 * @param client	Client index
 * @param szMsg		Disconnect Message
 * @error			If SDKTools isn't loaded/unable to get IServer pointer
 * @noreturn
 */
native ForceDisconnect(client,String:szMsg[]);

/**
 * Extension Loading :3
 * Do not edit anything below this line!
 */
public Extension:__ext_servertools = 
{
	name = "Server Tools",
	file = "servertools.ext",
#if defined AUTOLOAD_EXTENSIONS
	autoload = 1,
#else
	autoload = 0,
#endif
#if defined REQUIRE_EXTENSIONS
	required = 1,
#else
	required = 0,
#endif
};